package com.zxy.ziems.server.convert;

import com.zxy.ziems.server.domain.Point;
import com.zxy.ziems.server.dto.PointDto;
import com.zxy.ziems.server.vo.PointVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @description:
 * @auther: windrunner
 * @date 2022/9/1 18:45
 */
@Mapper
public interface PointConvert {

    PointConvert INSTANCE = Mappers.getMapper(PointConvert.class);

    Point pointDtoToPoint (PointDto pointDto);

    PointVo pointToPointVo (Point point);

    List<PointVo> pointListToPointVoList(List<Point> pointList);

}
